package com.gudaomai.ekproject.common;

public interface MsgConstant {
	
	//对sysuser表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_USER_ADD_SUCCESS ="ret_user_add_success";							//添加成功
	public String RET_USER_ADD_ALREADY_EXIST="ret_user_add_alreay_exist";				//已经存在
	public String RET_USER_SELECT_ALREADY_EXIST="ret_user_select_alreay_exist";			//已经存在
	public String RET_USER_SELECT_NOTEXIST="ret_user_select_notExist";			        //不存在
	
	//对role表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_ROLE_ADD_SUCCESS="ret_role_add_success";							//添加成功
	public String RET_ROLE_ADD_ALREADY_EXIST="ret_role_add_already_exist";				//已经存在
	public String RET_ROLE_SELECT_NOTEXIST="ret_role_select_notExist";				//不存在
	public String RET_ROLE_SELECT_ALREADY_EXIST="ret_role_select_already_exist";
	
	//对user_role表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_USER_ROLR_ADD_ALREADY_EXIST="ret_user_role_add_already_exist";	//已经存在
	public String RET_USER_ROLE_SELECT_NOTEXIST="ret_user_role_select_notExist";		//不存在
	
	
	//对roles_permissions表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_ROLES_PERMISSIONS_ADD_ALREADY_EXIST="ret_roles_permissions_add_already_exist";//已经存在
	
	// 对page表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_PAGE_ADD_SUCCESS="ret_page_add_success";							//插入成功
	public String RET_PAGE_ADD_ALREADY_EXIST="ret_page_already_exist";					//已经存在
	public String RET_PAGE_UPDATE_SUCCESS="ret_page_update_success";					//更新成功
	public String RET_PAGE_UPDATE_FAILURE="ret_page_update_failure";					//更新失败
	public String RET_PAGE_DELETE_SUCCESS="ret_page_delete_success";					//删除成功
	public String RET_PAGE_DELETE_FAILURE="ret_page_delete_failure";					//删除失败
	public String RET_PAGE_MOVE_UP_SUCCESS="ret_page_move_up_success";					//上移记录成功
	public String RET_PAGE_MOVE_UP_FAILURE="ret_page_move_up_failure";					//上移记录失败
	public String RET_PAGE_MOVE_DOWN_SUCCESS="ret_page_move_down_success";					//下移记录成功
	public String RET_PAGE_MOVE_DOWN_FAILURE="ret_page_move_down_failure";					//下移记录失败
	public String RET_PAGE_MOVE_TO_SUCCESS="ret_page_move_to_success";					//移至记录成功
	public String RET_PAGE_MOVE_TO_FAILURE="ret_page_move_to_failure";					//移至记录失败
	public String RET_PAGE_SELECT_NOTEXIST="ret_page_select_notExist";					//记录查询不到
	public String RET_PAGE_SELECT_EXIST="ret_page_select_exist";						//查询到记录
	

	//对project表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_PROJECT_ADD_SUCCESS="ret_project_add_success";					//添加成功
	public String RET_PROJECT_ADD_ALREADY_EXIST="ret_project_add_already_exist";		//添加失败
	public String RET_PROJECT_UPDATE_SUCCESS="ret_project_update_success";				//更新成功
	public String RET_PROJECT_UPDATE_FAILURE="ret_project_update_failure";				//更新失败
	public String RET_PROJECT_DELETE_SUCCESS="ret_project_delete_success";				//删除成功
	public String RET_PROJECT_DELETE_FAILURE="ret_project_delete_failure";				//删除失败
	public String RET_PROJECT_SELECT_EXIST="ret_project_select_exist";	                //已经存在
	public String RET_PROJECT_SELECT_NOTEXIST="ret_project_select_notExist";	        //不存在
	
	//对projectSysuser表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_PROJECTSYSUSER_SELECT_NOTEXIST="ret_projectSysuser_select_notExist";   //projectSysuser不存在
	public String RET_PROJECTSYSUSER_SELECT_EXIST="ret_projectSysuser_select_exist";	      //projectSysuser存在
	public String RET_PROJECTSYSUSER_DELETE_SUCCESS="ret_projectsysuser_delete_success"; //删除成功
	public String RET_PROJECTSYSUSER_DELETE_FAILURE="ret_projectsysuser_delete_failure"; //删除失败
	public String RET_PROJECTSYSUSER_ADD_ALREADY_EXIST="ret_projectsysuser_add_already_exist";//添加失败
	public String RET_PROJECTSYSUSER_ADD_SUCCESS="ret_projectsysuser_add_success";//添加成功

	//对element表的相关数据库操作返回的RetMessage[状态信息]
	public String RET_ELEMENT_SELECT_EXIST="ret_element_select_exist";					//查询成功
	public String RET_ELEMENT_SELECT_NOTEXIST="ret_element_select_notExist";			//查询失败
}
